/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package calculator;

/**
 *
 * @author Iskandar Sarkawi
 */
public class CasioCalc extends Calculator{

    private int intTotalMultiply;    

    //must add constructor 
    public CasioCalc(int number1, int number2){
        super(number1, number2); //call the superclass constructor
    }
    
    public int getMultiply(){
        intTotalMultiply = super.getNumber1() * super.getNumber2();
        // intTotalMultiply = intNumber1 * intNumber2; //can also but intNumber1 and intNumber2 in superclass must be declared as protected so that the subclass have access
        return intTotalMultiply;
    }

}
